html, body {
	padding: 0;
	margin: 0;
}

div.row div {
	display: inline-block;
	border: solid 1px blue;
	text-align: left;
	font-size: 10px;
	min-width: 50px;
}

div.row div.odd {
	background-color: blue;
	margin-left: 10px;
}

div.row div span {
	display: inline-block;
	padding: 0 5px 0 5px;
}

div.row div span.first {
	background-color: red;
}

div.row div span.second {
	background-color: green;
}

div.row div span.index {
	background-color: gray;
	color: white;
}

div.row {
	clear: both;
	white-space: nowrap;
	padding: 5px 0 0 0; 
}